<template>
  <div>
    <!-- 完整图片显示 -->
    <div class="flex justify-center w-full">
      <image mode="aspectFit" src="/static/sending_success.png"></image>
    </div>
    <div class="flex justify-center w-full font-bold">
      成功
    </div>
    <div class="w-full flex justify-center">
      <div @touchend="handleSwitch" class="bg-gray-200 p-2 rounded-md w-60 text-center mt-20">
        确定
      </div>
    </div>

  </div>
</template>

<script setup>
function handleSwitch() {
  uni.switchTab({ url: '/pages/user/user' })
}
</script>